<div class="col-sm-12 mt20" ng-keyup="myKeyup($event)">
<div class="panel panel-default">
<div class="panel-body">
<div class="col-sm-12">

    <div class="row ">
        <div class="col-sm-2"> 
            <input type="text" class="form-control" ng-model="searchform.order_code" placeholder="请输入订单编号">
        </div>
        <div class="col-sm-2">
            <ui-select ng-model="searchform.payment_type" theme="bootstrap" >
                <ui-select-match placeholder="请选择支付类型">
                    {{$select.selected.label}}
                </ui-select-match>
                <ui-select-choices repeat="payment_type.value as payment_type in payment_typearr | filter: $select.search">
                    <span ng-bind-html="payment_type.label | highlight: $select.search"></span>
                </ui-select-choices>
            </ui-select>
        </div>
        <div class="col-sm-2">
            <ui-select ng-model="searchform.back_state" theme="bootstrap" >
                <ui-select-match placeholder="请选择退款类型">
                    {{$select.selected.label}}
                </ui-select-match>
                <ui-select-choices repeat="back_state.value as back_state in back_statearr | filter: $select.search">
                    <span ng-bind-html="back_state.label | highlight: $select.search"></span>
                </ui-select-choices>
            </ui-select>
        </div>
        <div class="col-sm-2">
            <ui-select ng-model="searchform.ticket_state" theme="bootstrap" >
                <ui-select-match placeholder="请选择退票状态">
                    {{$select.selected.label}}
                </ui-select-match>
                <ui-select-choices repeat="ticket_state.value as ticket_state in ticket_statearr | filter: $select.search">
                    <span ng-bind-html="ticket_state.label | highlight: $select.search"></span>
                </ui-select-choices>
            </ui-select>
        </div>
        <div class="col-sm-2">
            <ui-select ng-model="searchform.from_app_id" theme="bootstrap" >
                <ui-select-match placeholder="请选择订单来源">
                    {{$select.selected.label}}
                </ui-select-match>
                <ui-select-choices repeat="from_order.value as from_order in from_orderarr | filter: $select.search">
                    <span ng-bind-html="from_order.label | highlight: $select.search"></span>
                </ui-select-choices>
            </ui-select>
        </div>
        <div class="col-sm-2">
            <button type="button" class="btn btn-default search" ng-click="load()">立即搜索</button>
        </div>
        
    </div>

</div>
</div>
</div>
<!-- searchArea -->

<div class="panel panel-default">
    <div class="panel-body">
        <table class="table table-condensed table-hover table-bordered">
            <thead>
                <tr>
                    <th class="text-center col-md-1">订单编号</th>
                    <th class="text-center col-md-1">订单序号</th>
                    <th class="text-center col-md-1">支付金额</th>
                    <th class="text-center col-md-1">支付类型</th>
                    <th class="text-center col-md-1">创建时间</th>
                    <th class="text-center col-md-1">所属机构</th>
                    <th class="text-center col-md-1">订单来源</th>
                    <th class="text-center col-md-1">退票状态</th>
                    <th class="text-center col-md-1">退款状态</th>
                    <th class="text-center col-md-1">实际退款金额</th>
                    <th class="text-center col-md-1">退款时间</th>
                    <th class="text-center col-md-1">操作</th>
                </tr>
                </thead>
                <tbody>
                <tr ng-repeat="obj in objs">
                    <td class="text-center">{{obj.order_code}}</td>
                    <td class="text-center">{{obj.sequence}}</td>
                    <td class="text-center">{{obj.back_price/100 | currency : '￥'}}</td>
                    <td class="text-center" ng-show="obj.payment_type=='0'">默认</td>
                    <td class="text-center" ng-show="obj.payment_type=='1'">支付宝支付</td>
                    <td class="text-center" ng-show="obj.payment_type=='2'">微信支付</td>
                    <td class="text-center" ng-show="obj.payment_type=='4'">预存支付</td>
                    <td class="text-center" ng-show="obj.payment_type==undefined"></td>
                    <td class="text-center">{{obj.create_time}}</td>
                    <td class="text-center">{{obj.ta_code}}</td>
                    <td class="text-center">{{obj.from_app_id}}</td>
                    <td class="text-center">{{obj.ticket_statename}}</td>
                    <td class="text-center">{{obj.back_statename}}</td>
                    <td class="text-center">{{obj.actual_back_price/100 | currency : '￥'}}</td>
                    <td class="text-center">{{obj.update_time}}</td>
                    <td class="text-center">
                        <a ng-show="obj.ticket_state == 1 && obj.actual_back_price/100 < obj.back_price/100" ng-click="back(obj)" class="btn btn-success btn-xs">退款</a>
                    </td>
                </tr>
                </tbody>
        </table>
        <div class="text-right">
             <pagination total-items="bigTotalItems" ng-model="bigCurrentPage" ng-change="load()" previous-text="上一页" next-text="下一页"
                first-text="首页" last-text="尾页" max-size="maxSize" boundary-links="true" rotate="false" items-per-page="itemsPerPage"
                class="m-t-none m-b">
            </pagination>
        </div>
    </div>
</div>

</div>



     

